package com.qsxc.dao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qsxc.business.bean.R;
import com.qsxc.business.promoter.bean.vo.DivideRecordVo;
import com.qsxc.dao.entity.SmPromoterDivideRecord;
import com.qsxc.dao.entity.SmUserPayRecord;

import java.util.List;

/**
 * <p>
 * 推广员分成记录表，支付成功后生成 服务类
 * </p>
 *
 * @author
 * @since 2024-09-25
 */
public interface ISmPromoterDivideRecordService extends IService<SmPromoterDivideRecord> {
    /**
     * 获取推广员分成记录
     *
     * @param openid
     * @return
     */
    R<List<DivideRecordVo>> getPromoterDivideRecord(String openid, String cashType) throws Exception;

    String createBySmDdjdServicePayRecord(SmUserPayRecord payRecord);
}
